#ifndef TEXT_H
#define TEXT_H

class Text
{
public:
	
	Text(FontPtr font, std::string text)
	{
		this->font = font;	str = text;  width = 0;  height = 0;
	}

	Text(const Text& cSource);
	Text& operator=(const Text& cSource);

	~Text();

	FontPtr getFont() { return font; }
	void setFont(FontPtr font) { this->font = font; };

	std::string getText() { return str; }
	void setText(std::string text) { str = text; }
	
	GLfloat getPosX() { return pos_x; }
	void setPosX(GLfloat x) { pos_x = x; }
	GLfloat getPosY() { return pos_y; }
	void setPosY(GLfloat y) { pos_y = y; }

	GLfloat getWidth() { return width; }
	void setWidth(GLfloat w) { width = w; }
	GLfloat getHeight() { return height; }
	void setHeight(GLfloat h) { height = h; }

private:
	FontPtr font;
	std::string str;
	GLfloat pos_x, pos_y, width, height;
};

#endif